﻿using MediatR;
using WMS_Goodsinfo.Api.Read.DTOS;
using WMS_Goodsinfo.ErrorCode;

namespace WMS_Goodsinfo.Api.Read.Application.Command
{
    public class SelectWarehousCommand:IRequest<ApiPaging<WarehouseDto>>
    {
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; } = 1;
        
        /// <summary>
        /// 每页大小
        /// </summary>
        public int PageSize { get; set; } = 15;
        
        /// <summary>
        /// 商品ID
        /// </summary>
        public int? Product_Id { get; set; }
        
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string ?Inventory { get; set; }
        
        /// <summary>
        /// 库位名称
        /// </summary>
        public string ?Location { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string? ProductName { get; set; }

        /// <summary>
        /// 商品类型
        /// </summary>
        public string? ProductTypeId { get; set; }
    }
}
